<?php
require_once 'Zend/View/Helper/FormElement.php';

class Core_View_Helper_FormLink extends Zend_View_Helper_FormElement
{
    public function formLink($name, $value, $attribs = null)
    {
        $info = $this->_getInfo($name, $value, $attribs);
        extract($info); // name, value, attribs, options, listsep, disable
 		
        $xHtml = '<a '
        		 . (!empty($info['id']) ? 'id="'.$info['id'].'"' : '')
                 . $this->_htmlAttribs($attribs)
                 . '>'
                 . $this->_translator->translate($value)
                 . '</a>';
                 
        return $xHtml;
    }
}